package com.phone.modules.rms.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 商品查询参数
 * Created by wanghao.
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="RmsBatteryQueryDTO筛选电池数据传输对象", description="用于返回条件筛选结果，查询电池排行信息")
public class RmsBatteryResultDTO {

    @ApiModelProperty("品牌logo")
    private String logo;

    @ApiModelProperty("手机名称")
    private String productName;

    @ApiModelProperty(value = "发售日期")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date saleTime;

    @ApiModelProperty(value = "五小时重度续航测试剩余电量，单位：%")
    private Integer remainPower;

    @ApiModelProperty(value = "五小时续航+视频播放总续航时长， 单位：h")
    private Double totalHour;

    @ApiModelProperty(value = "百分比参数")
    private Double per;

}
